package com.yra.service;

import com.yra.controller.vo.NewBeeMallIndexCategoryVO;
import com.yra.domain.Category;
import com.yra.util.PageQueryUtil;
import com.yra.util.PageResult;

import java.util.List;

/**
 * @Author: yrq
 * @Date: Create in 9:08 2019/12/2
 */
public interface CategoryService {
    List<Category> categoryByLevel(int categoryLevel);

    void categoryInsert(Category category);

    void categoryDelete(int ids);

    PageResult categoryListPage(PageQueryUtil pageQueryUtil);

    void categoryUpdate(Category category);

    List<Category> categoryListByLevelAndParentId(int categoryLevel, int parentId);

    Category categoryListByCategoryId(int categoryId);

    void changeProductStatusById(int status, int[] ids);

    List<NewBeeMallIndexCategoryVO> indexCategoryByLevel();
}
